package com.zhkj.shixi.tvfilemanager.view;

import com.zhkj.shixi.tvfilemanager.adapter.ListViewAdapter;

import java.io.File;
import java.util.List;

import static com.zhkj.shixi.tvfilemanager.view.GrideViewPager.bMap;

/**
 * Created by nieshuang on 19-8-14.
 */

public class ViewDataFlush {
    public static void flushData(List<File> fileList,boolean type){
        bMap.clear();
        if(!type){
            ListViewPager.flushViewData(fileList);
        }else{
            GrideViewPager.flushViewData(fileList);
        }
    }
}


